/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2025-02-12 20:58:25
 * @LastEditTime: 2025-02-15 19:08:51
 * @FilePath: /monitor_belt/src/api/login/index.ts
 */
import { http } from "@/utils/request";
import { TQuery, TResponse } from "../index.type";

// 登录
export const login = (data:TQuery) => {
    return http.post<TResponse>(`/app/login`,data);
}
// 登出
export const logout = () => {
    return http.get<TResponse>(`/app/logout`);
}